package cn.iocoder.yudao.module.of.controller.admin.taskinfo.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;
import java.util.List;

@Schema(description = "管理后台 - 任务模块分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TaskInfoPageReqVO extends PageParam {

    @Schema(description = "任务名称", example = "李四")
    private String taskName;

    @Schema(description = "子任务名称", example = "李四")
    private String subTaskName;

    @Schema(description = "公文/会议名称")
    private String meetName;

    @Schema(description = "任务来源: 1中心来文、2会议、3领导交办、4其它", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer taskFrom;

    @Schema(description = "任务类型:1全年、2常规", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer taskType;

    @Schema(description = "创建时间起始")
//    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY, timezone = "GMT+8")
//    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    private List<Date> startTime;

//    @Schema(description = "创建时间截止")
//    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = "GMT+8")
//    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
//    private LocalDateTime startTime2;

//    @Schema(description = "截止时间起始")
//    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = "GMT+8")
//    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
//    private LocalDateTime endTime1;

    @Schema(description = "截止时间截止")
//    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY, timezone = "GMT+8")
//    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    private List<Date> endTime;


    @Schema(description = "主办部门id", example = "15772")
    private Long deptId;

    @Schema(description = "主办人员名称", example = "15772")
    private String userName;

    @Schema(description = "协办部门id", example = "15772")
    private Long subDeptId;

    @Schema(description = "协办人员名称", example = "15772")
    private String subUserName;


    @Schema(description = "子任务主办部门id", example = "15772")
    private Long subTaskDeptId;

    @Schema(description = "子任务主办人员名称", example = "15772")
    private String subTaskUserName;

    @Schema(description = "子任务协办部门id", example = "15772")
    private Long subTaskSubDeptId;

    @Schema(description = "子任务协办人员名称", example = "15772")
    private String subTaskSubUserName;
}